/**
 * Created by admin on 2017/8/22.
 */
layui.define(['ajax'], function (exports) {
    var $ajax = layui.ajax;
    var userInfo = {
        findUserInfoList: function(obj, callback) {
            $ajax.getJSON({
                url: "/user/findUserInfoList.html",
                data: obj,
                success: callback
            })
        }
        ,saveUserInfo: function (obj,callback) {
            $ajax.getJSON({
                url: "/user/saveUserInfo.html",
                data: obj,
                success: callback
            })
        }

    };
    exports('userInfo', userInfo);
})